package com.answeringplayer.domain;

import java.sql.Timestamp;

/**
 * 题库分类实体类
 * 对应数据库表: category
 */
public class Category {
    private Integer categoryId;
    private String name;
    private Integer sortOrder;
    private Timestamp createdAt;

    // getter and setter methods
    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Timestamp getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Timestamp createdAt) {
        this.createdAt = createdAt;
    }
}